home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccmmmmssssCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt((((3333)))) CCCCMMMMSSSS ccccmmmmssssCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- cmsCheckGamut - test pixels in a buffer to see whether they are in gamut
- for a given transform
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
-
- iiiinnnntttt33332222 ccccmmmmssssCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt ((((ccccttttxxxxtttt,,,, ttttffffmmmm,,,, ****ppppssssrrrrcccc,,,, ppppggggaaaammmmuuuuttttmmmmaaaapppp))));;;;
- CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
- CCCCMMMMSSSSTTTTffffmmmm ttttffffmmmm;;;;
- CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppssssrrrrcccc;;;;
- CCCCMMMMSSSSGGGGaaaammmmuuuuttttMMMMaaaapppp ppppggggaaaammmmuuuuttttmmmmaaaapppp;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _c_m_s_C_h_e_c_k_G_a_m_u_t uses the transform _t_f_m to test input pixel buffer _p_s_r_c and
- generate the output flags buffer _p_g_a_m_u_t_m_a_p for out-of-gamut indication.
- The order of bits in _p_g_a_m_u_t_m_a_p follows the order of input pixels.
-
- Gamut checking may take a while to perform. If you are concerned about
- maintaining interactivity, you may wish to check portions of images in
- smaller sized chunks.
-
- EEEERRRRRRRROOOORRRRSSSS
- CMS_OUT_OF_MEMORY
- There is not sufficient memory available for gamut testing.
-
- CMS_BAD_PIXEL_BUF
- psrc is not a valid pixel buffer.
-
- CMS_BAD_GAMUT_MAP
- pgamutmap is not a valid gamut map buffer.
-
- CMS_BAD_TFM
- tfm is not a valid transform, or it has not been built.
-
- CMS_CONVERT_ERROR
- The transform specified by tfm is not valid.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cmsCreateGamutCheck
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-